package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 手续对象 formalities
 * 
 * @author ruoyi
 * @date 2021-04-29
 */
public class Formalities extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;
    private Long qualiId;

    /** 材料名字 */
    @Excel(name = "材料名字")
    private String forName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    /** 到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 链接 */
    @Excel(name = "链接")
    private String url;

    public Long getQualiId() {
        return qualiId;
    }

    public void setQualiId(Long qualiId) {
        this.qualiId = qualiId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setForName(String forName) 
    {
        this.forName = forName;
    }

    public String getForName() 
    {
        return forName;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("forName", getForName())
            .append("creatTime", getCreatTime())
            .append("endTime", getEndTime())
            .append("url", getUrl())
            .toString();
    }
}
